<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="css" file="css.form" />
<import type="css" file="css.global" />
<import type="js" file="js.common" />
<import type="js" file="js.query" />
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.all.min.js"> </script>
</head>

<body>
<div id="form">
	<form action="__APP__/Circular/save"  method="post" name="form1" onsubmit="return CheckForm();">
		<table>
		 <tr>
			<td class="titlename">标题：</td>
			<td>
				<input type="text" name="title" value="{$data.title}" size="100">
			</td>
		 </tr>
		 <tr>
			<td class="titlename">内容：</td>
			<td>
				<script id="editor" type="text/plain" name="content" style="width:900px;height:300px;">{$data.content}</script>
			</td>
		 </tr>
		</table>
		 <div class="search center">
				<input type="hidden" name="id" value="{$data.id}" >
				<input type="submit" value="修改" class="submit">&nbsp;&nbsp;
				<input type="button" value="返回" class="button" onclick="back()">
		 </div>
	</form>
</div>
</body>
<script type="text/javascript">
var ue = UE.getEditor('editor');
function CheckForm(){
	if($("input[name='title']").val() == ''){ alert("标题不能为空！"); return false; }
}
</script>
</html>